package com.wsy.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.wsy.entity.BookInfo;
import com.wsy.entity.Orders;

import java.util.List;

public interface BookInfoService extends IService<BookInfo> {

    PageInfo<BookInfo> select(Integer pageNum, Integer pageSize);

    List<BookInfo> selectById(Integer id);

    int addOrders(Orders orders);

    List<Orders> selOrders(String oid);

    int updOrderPay(String oid, String addressId);

    List<Orders> selUserOrders(String userId);

}
